<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- <table border = "1px" height = "300" width = "500" cellspacing = "0" 
    cellpadding = "5" align = "center">
        <thead>
            <tr>
                <th>姓名</th>
                <th>性别</th>
                <th>年龄</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>张三</td>
                <td>男</td>
                <td>3</td>
            </tr>
            <tr>
                <td>李四</td>
                <td>男</td>
                <td>4</td>
            </tr>
            <tr>
                <td>王五</td>
                <td>女</td>
                <td>5</td>
            </tr>
        </tbody>
    </table> -->

    <table border = "1px" height = "300" width = "500" cellspacing = "0" 
    cellpadding = "5" align = "center">
        <thead>
            <tr>
                <th>姓名</th>
                <th>性别</th>
                <th>年龄</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>张三</td>
                <td rowspan = "2">男</td>
                <td>3</td>
            </tr>
            <tr>
                <td>李四</td>
                <!-- <td>男</td> -->
                <td>4</td>
            </tr>
            <tr>
                <td colspan = "2">王五</td>
                <!-- <td>女</td> -->
                <td>5</td>
            </tr>
        </tbody>
    </table>

</body>
</html>